package com.dede.getmusic.module.download

import android.app.Notification
import com.dede.getmusic.base.IBaseView
import com.dede.getmusic.data.SongFileInfo
import java.io.File

/**
 * @author hsh
 * @date 2017/10/13 16:28.
 * @doc
 */
interface IDownloadView : IBaseView {

    fun downloadFinish(songFileInfo: SongFileInfo, t: File)

    fun notify(id: Int, progress: Int, text: String)

    fun cancel(id: Int)

    fun createNotify(progress: Int, text: String): Notification
}